<% if @messages.size == 0 %>
	
	<div class="alert green center rounded-5">
		<h1><%= link_to t(:new, :scope => :message), new_project_message_path %></h1>
		<p>Não há nenhuma mensagens ainda, crie uma agora mesmo!</p>
	</div>

<% else %>

	<% for message in @messages %>
		<h2><%= h message.title %></h2>
		<%= simple_format h(message.body) %>
		<hr />
	<% end %>

<% end %>

<% content_for :sidebar do %>
	<p class="center"><%= link_to t(:new, :scope => :message), new_project_message_path, :class => 'awesome large', :style => 'font-size: 18px' %></p>
<% end %>